package liurong.driver.rmi;

import java.rmi.Naming;
import java.rmi.registry.LocateRegistry;

public class Provider {
	public static void main(String[] args) throws Exception {
		LocateRegistry.createRegistry(8888);
		TestService testService = new TestServiceImpl();
		Naming.bind("rmi://127.0.0.1:8888/Test", testService);
		System.out.println("rmi provider start success!");
	}
}
